home *** CD-ROM | disk | FTP | other *** search
/ ftp.mactech.com 2010 / ftp.mactech.com.tar / ftp.mactech.com / machack / Hacks96 / FlyPaper.sit / Fly Paper / FlyPaper Source / New Sources / ClippingWindow.h < prev    next >
Text File  |  1996-06-22  |  529b  |  27 lines

  1. #ifndef CLIPPINGWINDOW_H
  2. #define CLIPPINGWINDOW_H
  3.  
  4. class CClippingFile;
  5. class CThumbnail;
  6.  
  7. class CClippingWindow {
  8.  
  9. public:
  10.                         CClippingWindow (CClippingFile* theFile);
  11.                         ~CClippingWindow ();
  12.                 
  13.     void                RePositionWindow ();
  14.  
  15. protected:
  16.     Rect                CalculateWindowBounds (Boolean onLeft, short offset);
  17.     static void            ClippingDisposeProc (WindowPtr win);
  18.     static void            EventProc (EventRecord *theEvent, WindowPtr win);
  19.     
  20. private:
  21.     WindowPtr            fWindow;
  22.     CClippingFile*        fClippingFile;
  23.     CThumbnail*            fThumbnail;
  24. };
  25.  
  26. #endif
  27.